import { Err } from '../interface/err.interface.ts'

export const PhotoRespError: Err = {
  code: 10001,
  msg: '流量信息获取失败',
}

export const DataFormatError: Err = {
  code: 10002,
  msg: '参数格式错误',
}

export const TodayHolidayError: Err = {
  code: 10003,
  msg: '节假日信息获取失败',
}

// 拼车类型

export const CarpoolTypeCreateError: Err = {
  code: 20001,
  msg: '拼车类型创建失败',
}

export const CarpoolTypeUpdateError: Err = {
  code: 20002,
  msg: '拼车类型更新失败',
}

export const CarpoolTypeDeleteError: Err = {
  code: 20003,
  msg: '拼车类型删除失败',
}

export const CarpoolTypeSelectError: Err = {
  code: 20004,
  msg: '拼车类型查询失败',
}

// 拼车成员

export const CarpoolMemberCreateError: Err = {
  code: 30001,
  msg: '拼车成员创建失败',
}

export const CarpoolMemberUpdateError: Err = {
  code: 30002,
  msg: '拼车成员更新失败',
}

export const CarpoolMemberDeleteError: Err = {
  code: 30003,
  msg: '拼车成员删除失败',
}

export const CarpoolMemberSelectError: Err = {
  code: 30004,
  msg: '拼车成员查询失败',
}

export const CarpoolMemberCheckVipError: Err = {
  code: 30005,
  msg: '拼车成员检测VIP失败',
}

// 壁纸

export const WallpaperGetUrlError: Err = {
  code: 40001,
  msg: '获取壁纸地址失败',
}

// 打卡
export const ClockInGetError: Err = {
  code: 40002,
  msg: '打卡信息查询失败',
}

export const ClockInUpdateError: Err = {
  code: 40003,
  msg: '打卡信息更新失败',
}
